package com.lq.demo.demo.mode.threadpool;

public interface ThreadPool<Job extends Runnable> {

    void execute(Job job);

    void shutdown();

    int getWorkThreadSize();

    void addWorkers(int num);

    void removeWorker(int num);
}
